<?php 
	if(isset($_POST['deletemail'])){
		//var_dump($_POST['uid']);
		$arr=$_POST['uid'];
		require_once("mail_power.php");
		if(is_array($arr)){
			foreach($arr as $val){
				$im->delete($val);
				echo '删除成功！';
			}
		}else{
			$im->delete($arr);
		}
	
	}
?>